function debounce(callback,delay){
    var timerId=null;//定时器id
    return function(){
        timerId=  setTimeout(() => {
            callback;
        }, delay);
    }
}